package com.ddwl.user.repository;

import com.ddwl.user.dao.model.DeviceConnRecord;

/**
 * @Author hemiaojun
 * @Date 2021/8/19 9:43
 */
public interface DeviceConnRecordRepositoryAdvance {
    /**
     * 获取用户最后一条连接记录
     * @param userId
     * @return
     */
    DeviceConnRecord getLast(String userId);

    /**
     * 修改连续连接天数
     * @param save
     */
    void updateContinuousDay(DeviceConnRecord save);
}
